<div class="company-form">
<?php //echo $this->form->render($this) ?>

<!-- <div id="image"></div>-->
<form id="<?php echo $this->form->getAttrib('id');?>" name="<?php echo $this->form->getAttrib('name');?>" enctype="multipart/form-data" action="<?php echo $this->escape($this->form->getAction()) ?>" method="<?php echo $this->escape($this->form->getMethod()) ?>" class="global_form">
    <div>
        <div>
            <h3>
                <?php echo $this->translate($this->form->getTitle()) ?>
            </h3>
            <p class="form-description"><?php //echo $this->translate($this->form->getDescription()) ?></p>
            <div class="form-elements">
                <?php echo $this->form->getDecorator('FormErrors')->setElement($this->form)->render("");?>
                <?php if($this->form->getDecorator('FormMessages')->getMessages()) echo $this->form->getDecorator('FormMessages')->setElement($this->form)->render('');?> 
                               
                <?php echo $this->form->title; ?>
                <?php echo $this->form->description; ?>
                <?php echo $this->form->ads_image; ?>
                <?php echo $this->form->preview; ?>
                <?php //echo $this->form->buttons; ?>
            </div>
         </div>
    </div>
</form> 
</div>

<script type="text/javascript">

function openPromotionform(){
        var href = en4.core.baseUrl + 'talktangle/promotion/create';
        this.location.href = href;
}
en4.core.runonce.add(function() {
    
});    
</script>